<link rel="stylesheet" type="text/css" href="css/accourt.css"/>
<link rel="stylesheet" type="text/css" href="/css/easydialog.css"/>
<div class="r_content">
    <?include TPLPATH."account_bar.tpl";?>
    <div class="accoinfo">
        <h4 class="accoh4">支付宝账户：</h4>
        <!--没有默认账户时显示-->
        <!--<p>
            <span class="accred">此为在线支付收款账户，请务必认真填写！</span>
            <a href="#" class="accrevise">增加账户</a>
        </p>-->
        <!--有默认账户时显示-->
        <p>
            姓名：<span><?=$data['cname']?></span>
            账户名：<span><?=$data['alipay']?></span>
            <a href="account_info.html?b" class="accrevise">修改</a>
            <!--<span>（<span class="tel">手机</span>）</span>-->
        </p>

        <h4 class="accoh4">平台资金账户：</h4>
        <p>
            账户余额：
            <span><em class="redem"><?=$data['money']?></em>元</span>
            <a href="recharge.html" class="btncz">充 值</a>
            <a href="withdraw.html" class="btncz">提 现</a>
        </p>
    </div>
</div>
<script src="/js/easydialog.min.js"></script>
<script>
    $("#chgLowestValue").on('click', function(){
        var btnFn = function(){
            var v = $("input#lowestValue").val();
            alert(v);
            return false;
        };
        easyDialog.open({
            container : {
                header : '设置',
                content : '<p>余额预警阀值:<input type="number" style="width:50px;" name="lowestValue" id="lowestValue"/>元</p>'+
                           '<p>当余额少于该值时会有短信提醒。</p>',
                yesFn : btnFn,
                noFn : true
            }
        });
    });
</script>